﻿<%@ Page Title="" Language="C#" MasterPageFile="~/design_page/admin/admin.master"
AutoEventWireup="true" CodeFile="admin_Upload_data.aspx.cs" Inherits="design_page_admin_Default"
%>
    <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
    Runat="Server">
        <div style="text-align: center; margin-right: auto; margin-left: auto; height: 166px;">
            <div id="Is_GridView_show" runat="Server" style="text-align: center; margin-right: auto; margin-left: auto;width: 1176px">
                <table border="0" cellspacing="0" cellpadding="0" width="100%">
                    <tr>
                        <td style="height: 12px">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:GridView ID="GridView_show_data" runat="server" CellPadding="4" ForeColor="#333333"
                            GridLines="None" AutoGenerateColumns="False" onrowcommand="Gridview_show_RowCommand"
                            Width="98%" AllowPaging="True" PageSize="20">
                                <Columns>
                                    <asp:TemplateField HeaderText="查看简介">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton2" runat="server" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>"
                                            CommandName="jianjie">
                                                选择
                                            </asp:LinkButton>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="上传者ID">
                                        <ItemTemplate>
                                            <asp:Label ID="dLabel_uploadid" runat="server" Text='<%# Bind("_Uploaderid") %>'>
                                            </asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="上传者名称">
                                        <ItemTemplate>
                                            <asp:Label ID="dLabel_homeworkname1" runat="server" Text='<%# Bind("_Uploadername") %>'>
                                            </asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="上传文件名称">
                                        <ItemTemplate>
                                            <asp:Label ID="dLabel_filename" runat="server" Text='<%# Bind("_Updataname") %>'>
                                            </asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="上传时间">
                                        <ItemTemplate>
                                            <asp:Label ID="dLabel_homework_score1" runat="server" Text='<%# Bind("_Uploadtime") %>'>
                                            </asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="下载次数">
                                        <ItemTemplate>
                                            <asp:Label ID="dLabel_homework_score21" runat="server" Text='<%# Bind("_Updowncount") %>'>
                                            </asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="下载">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton_xiazai" runat="server" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>"
                                            CommandName="xiazai">
                                                下载
                                            </asp:LinkButton>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="删除">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton_shanchu" runat="server" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>"
                                            CommandName="shanchu">
                                                删除
                                            </asp:LinkButton>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <AlternatingRowStyle BackColor="White" />
                                <EditRowStyle BackColor="#2461BF" />
                                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center"
                                />
                                <RowStyle BackColor="#EFF3FB" />
                                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333"
                                />
                                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                <SortedDescendingHeaderStyle BackColor="#4870BE" />
                            </asp:GridView>
                            <div id="showjianjie" runat="Server" style="vertical-align: bottom; text-align: left">
                                <div style="vertical-align: bottom; text-align: left">
                                    <asp:Label ID="资料简介" runat="server" Text="资料简介：">
                                    </asp:Label>
                                </div>
                                <asp:TextBox ID="TextBox2" runat="server" Height="258px" TextMode="MultiLine"
                                Width="98%">
                                </asp:TextBox>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            <div style="text-align: center; margin-right: auto; margin-left: auto; width: 1111px;">
                <table cellpadding="0" cellspacing="1" class="style19" style="width: 1112px">
                    <tr>
                        <td style="height: 37px; width: 413px; text-align: right;">
                            <asp:TextBox ID="TextBox1" runat="server" Width="487px" Text="根据资料名称查询或根据上传者名称查询空信息时可以显示所有">
                            </asp:TextBox>
                        </td>
                        <td style=" text-align: center; height: 27px; width: 135px;">
                            <asp:DropDownList ID="DropDownList1" runat="server" Width="135px">
                                <asp:ListItem>根据资料名称查询</asp:ListItem>
                                <asp:ListItem>根据发布者名称查询</asp:ListItem>
                                <asp:ListItem>我上传的资料</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td style="text-align: left;  height: 27px; width: 64px;">
                            <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="百度一下"
                            />
                        </td>
                        <td style="text-align: left;  height: 27px;width: 65px;">
                            <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="我要上传"
                            />
                        </td>
                        <td style="text-align: left;  height: 27px;width: 65px;">
                            <asp:Button ID="Button4" runat="server" onclick="Button4_Click" Text="关闭简介"
                            Visible="False" />
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; height: 129px; text-align: left; " colspan="5">
                            <div id="upload_file" runat="server">
                                <table border="0" cellspacing="0" cellpadding="0" width="100%">
                                    <tr>
                                        <td style="width: 131px; height: 9px;">
                                        </td>
                                        <td style="height: 9px">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 131px; text-align: right; vertical-align: top; height: 28px;">
                                            <asp:Label ID="Label3" runat="server" Text="上传文件选择：  ">
                                            </asp:Label>
                                        </td>
                                        <td style="height: 28px; vertical-align: top;">
                                            <asp:FileUpload ID="FileUpload2" runat="server" Width="614px" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 131px; text-align: right; vertical-align: top; height: 284px;">
                                            <asp:Label ID="Label2" runat="server" Text="上传文件简介：">
                                            </asp:Label>
                                        </td>
                                        <td style="height: 284px; vertical-align: top;">
                                            <asp:TextBox ID="TextBox3" runat="server" Width="915px" Height="267px"
                                            TextMode="MultiLine">
                                            </asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 131px">
                                            &nbsp;
                                        </td>
                                        <td>
                                            <asp:Button ID="Button3" runat="server" onclick="Button3_Click" Text="上传"
                                            Width="89px" />
                                            <asp:Button ID="Button5" runat="server" onclick="Button5_Click" Text="返回"
                                            Width="89px" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 131px">
                                            &nbsp;
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 131px">
                                            &nbsp;
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: bottom; height: 129px; text-align: right; width: 101px;">
                            &nbsp;
                        </td>
                        <td class="style27" style="vertical-align: bottom; text-align: left; width: 135px;">
                            &nbsp;
                        </td>
                        <td class="style27" style="text-align: left; vertical-align: bottom; width: 64px;">
                            &nbsp;
                        </td>
                        <td class="style27" style="text-align: left; vertical-align: bottom;"
                        colspan="2">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: bottom; height: 129px; text-align: right; width: 101px;">
                            &nbsp;
                        </td>
                        <td class="style27" style="vertical-align: bottom; text-align: left; width: 135px;">
                            &nbsp;
                        </td>
                        <td class="style27" style="text-align: left; vertical-align: bottom; width: 64px;">
                            &nbsp;
                        </td>
                        <td class="style27" style="text-align: left; vertical-align: bottom;"
                        colspan="2">
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </asp:Content>